package com.itheima.classloader;

public class Demo01 {


    public static void main(String[] args) {
        //获取系统各类加载器
        //jdk.internal.loader.ClassLoaders$AppClassLoader@3fee733d
        ClassLoader systemClassLoader = ClassLoader.getSystemClassLoader();

        System.out.println(systemClassLoader);
        //获取平台类加载器
        //jdk.internal.loader.ClassLoaders$PlatformClassLoader@10f87f48
        ClassLoader platformClassLoader = systemClassLoader.getParent();
        System.out.println(platformClassLoader);


        //获取启动类加载器   null
        ClassLoader bootstrapClassLoader = platformClassLoader.getParent();
        System.out.println(bootstrapClassLoader);




    }
}
